<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ContentClassList.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.ContentClassList" %>
<asp:GridView runat="server" ID="gvClassList" AutoGenerateColumns="false" CssClass="frame">
    <Columns>
        <asp:TemplateField HeaderText="name">
            <ItemTemplate >
                <asp:Label runat="server" ID="lblName" Text='<% # DataBinder.Eval(Container,"DataItem.Name") %>' />
            </ItemTemplate>            
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Description">
            <ItemTemplate>
                <asp:Label runat="server" ID="lblDescription" Text='<% # DataBinder.Eval(Container,"DataItem.Description") %>' />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Button runat="server" Text="Choose" ID="btnChoice" CommandArgument='<% # DataBinder.Eval(Container,"DataItem.ID") %>' OnClick="btnChoice_Click" />
            </ItemTemplate>
        </asp:TemplateField>
        
    </Columns>
</asp:GridView>